

package top.continew.admin.question.user.service.impl;

public class QuestionSummary {

    /**
     * 完成数量
     */
    private long doSum;

    /**
     * 正确数量
     */
    private long trueSum;

    /**
     * 错误数量
     */
    private long falseSum;

    /**
     * 做题时长
     */
    private long doTime;

    /**
     * 当前进度
     */
    private Long index;

    // 构造方法
    public QuestionSummary(long doSum, long trueSum, long falseSum, long doTime, Long index) {
        this.doSum = doSum;
        this.trueSum = trueSum;
        this.falseSum = falseSum;
        this.doTime = doTime;
        this.index = index;
    }

    // Getter 和 Setter 方法

    public long getDoSum() {
        return doSum;
    }

    public void setDoSum(long doSum) {
        this.doSum = doSum;
    }

    public long getTrueSum() {
        return trueSum;
    }

    public void setTrueSum(long trueSum) {
        this.trueSum = trueSum;
    }

    public long getFalseSum() {
        return falseSum;
    }

    public void setFalseSum(long falseSum) {
        this.falseSum = falseSum;
    }

    public long getDoTime() {
        return doTime;
    }

    public void setDoTime(long doTime) {
        this.doTime = doTime;
    }

    public Long getIndex() {
        return index;
    }

    public void setIndex(Long index) {
        this.index = index;
    }

    // toString 方法（可选）
    @Override
    public String toString() {
        return "QuestionSummary{" + "doSum=" + doSum + ", trueSum=" + trueSum + ", falseSum=" + falseSum + ", doTime=" + doTime + ", index=" + index + '}';
    }
}
